package com.tianlu.store.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "按月统计积分明细")
@Data
public class UpdatePasswordDTO {
    @ApiModelProperty(value = "账号")
    @NotBlank(message = "账号不能为空")
    private String phone;

    @ApiModelProperty(value = "原密码")
    @NotBlank(message = "原密码不能为空")
    private String oldPassword;

    @ApiModelProperty(value = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
